/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package info.hengha.blue.model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author Administrator
 */
@Entity
@Table(name = "blue_node_meta")
public class NodeMeta implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue
    private int id;
    @Column(name = "node_id")
    private int nodeId;
    @Column(name = "meta_key")
    private String metaKey;
    @Column(name = "meta_int")
    private int metaInt;
    @Column(name = "meta_varchar")
    private String metaVarchar;
    @Column(name = "meta_text")
    private String metaText;

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the nodeId
     */
    public int getNodeId() {
        return nodeId;
    }

    /**
     * @param nodeId the nodeId to set
     */
    public void setNodeId(int nodeId) {
        this.nodeId = nodeId;
    }

    /**
     * @return the metaKey
     */
    public String getMetaKey() {
        return metaKey;
    }

    /**
     * @param metaKey the metaKey to set
     */
    public void setMetaKey(String metaKey) {
        this.metaKey = metaKey;
    }

    /**
     * @return the metaInt
     */
    public int getMetaInt() {
        return metaInt;
    }

    /**
     * @param metaInt the metaInt to set
     */
    public void setMetaInt(int metaInt) {
        this.metaInt = metaInt;
    }

    /**
     * @return the metaVarchar
     */
    public String getMetaVarchar() {
        return metaVarchar;
    }

    /**
     * @param metaVarchar the metaVarchar to set
     */
    public void setMetaVarchar(String metaVarchar) {
        this.metaVarchar = metaVarchar;
    }

    /**
     * @return the metaText
     */
    public String getMetaText() {
        return metaText;
    }

    /**
     * @param metaText the metaText to set
     */
    public void setMetaText(String metaText) {
        this.metaText = metaText;
    }

}
